home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5685 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  53 lines

  1. Path: cs.city.ac.uk!not-for-mail
  2. From: sheun@cs.city.ac.uk (Sheun Olatunbosun)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: DICE cache problems
  5. Date: 18 Mar 1996 17:55:31 -0000
  6. Organization: School of Informatics, City University
  7. Message-ID: <4ik82j$5g0@barney.soi.city.ac.uk>
  8. NNTP-Posting-Host: barney.soi.city.ac.uk
  9.  
  10.  
  11. Hello Gurus,
  12.  
  13. I'm having a real hard time trying to resolve the following problem so I
  14. throw it you experts out there. I want to compile the following program
  15. using a LARGE data model.
  16.  
  17. ---------------------
  18. #include <stdio.h>
  19.  
  20. main()
  21. {
  22.     FILE *stream;
  23.  
  24.     stream = fopen("fred", "r");
  25.     exit(0);
  26. }
  27. ---------------------
  28.  
  29. If I use "dcc -o file file.c", that is compile with the small data model, then
  30. everything is okay. However, if I issue the command "dcc -o file file.c -mD",
  31. that is using the large data model, I get the error.
  32.  
  33.     Undefined Symbol    -DiceCacheOpen
  34.     Undefined Symbol    -DiceCacheSeek
  35.     Undefined Symbol    -DiceCacheClose
  36.  
  37. I understand that the Dice cache routines appear in the "c" link library, so
  38. I've tried compiling a new "cl.lib" library for large data model linking.
  39. All goes well up until the end when I get the complaint 
  40.  
  41.     cannot find   [dinclude:fd/]dicecache_lib.fd
  42.  
  43. which of course does not exist. I've searched quite thoroughly my DICE 
  44. distribution disks (registered version 2.07.54) and I cannot find this file.
  45. Therefore can somebody help me by sending me the file (dicecache_lib.fd), or
  46. telling me how I can generate it, or as a alternative mentioning how I can
  47. compile the above program without using the cache.
  48.  
  49.  
  50. Your help will be much appreciated
  51.  
  52. Sheun
  53.